---
title: CustomTaskPane.DockPositionRestrict Property (Office)
keywords: vbaof11.chm301009
f1_keywords:
- vbaof11.chm301009
ms.prod: office
api_name:
- Office.CustomTaskPane.DockPositionRestrict
ms.assetid: 30378c40-a3b1-0482-146a-d95564760673
ms.date: 06/08/2017
---


# CustomTaskPane.DockPositionRestrict Property (Office)

Gets or sets an enumerated value specifying a restriction on the orientation of a  **CustomTaskPane** object. Read/write.


## Syntax

 _expression_. **DockPositionRestrict**

 _expression_ An expression that returns a **CustomTaskPane** object.


### Return Value

MsoCTPDockPositionRestrict


## See also


#### Concepts


[CustomTaskPane Object](customtaskpane-object-office.md)
#### Other resources


[CustomTaskPane Object Members](customtaskpane-members-office.md)

